﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="shipping.aspx.cs" Inherits="WebSite.admin.shipping.shipping" %>

 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>阳澄湖牌 </title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "管理中心";
        //parent.contentmain.innerHTML="<span class='title01'>所在位置：</span>配送方式。&nbsp;&nbsp;<img src='images/sort_desc.gif' /> <a href='shipping/shipping_add.aspx' target='content'><font color=#ff0000>添加配送方式</font></a>"
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>配送方式"
    </script>
    <script language='javascript'>
        var path = (window.top.location).toString();
        if (path.indexOf('login.aspx') == -1) {
            if (path.indexOf('index.aspx') == -1) {
                window.top.location = 'index.aspx';
            }
        }
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="shippingid" Width="98%" OnRowDataBound="GridView1_RowDataBound" CellPadding="4" CellSpacing="1" ForeColor="#333333" GridLines="None">
           <Columns>                
                <asp:HyperLinkField DataNavigateUrlFields="shippingid" DataNavigateUrlFormatString="shipping_add.aspx?shippingid={0}" HeaderText="配送方式名称" DataTextField="shippingname" />
                <asp:BoundField HeaderText="配送方式描述" DataField="shippingcontent" />
                <asp:BoundField HeaderText="费用" DataField="shippingpay" />
                <asp:BoundField DataField="flag"/>
                <asp:BoundField DataField="shippingid" />
                <asp:TemplateField ShowHeader="False" HeaderText="操作">
                 <ItemTemplate>
                   <a href="shipping.aspx?action=install&amp;shippingid=<%# Eval("shippingid") %>">安装</a>
                 </ItemTemplate>
                 </asp:TemplateField>
            </Columns>
             <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />             
             <PagerStyle BackColor="White" ForeColor="#333333" HorizontalAlign="Center" Font-Bold="True" Font-Size=30px />
             <HeaderStyle BackColor="#E2E7EB" Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" />
             <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
</center>
    </div>
    </form>
</body>
</html>